%% 仓库系统架构图（入库/出库/库存 + BOSS/OSSV3/品质）
flowchart LR
  subgraph 入库
    IN1[收货与验视]
    IN2[异常处置]
    IN3[系统导入]
  end

  subgraph 出库
    OUT1[订单处理]
    OUT2[拣配与发货]
    OUT3[对账与回传]
  end

  subgraph 库存
    INV1[库存管理]
    INV2[盘点与校对]
  end

  BOSS[(BOSS系统)]
  OSS[(OSSV3系统)]
  ERP[(ERP系统&钉钉流程)]
  QC[(品质质检)]

  IN1 --> QC
  IN2 --> QC
  IN3 --> BOSS
  IN3 --> OSS

  OUT1 --> BOSS
  OUT1 --> ERP
  OUT1 --> OSS
  OUT2 --> OSS
  OUT2 --> ERP
  OUT3 --> ERP

  INV1 -->|库存同步| OSS
  INV2 -->|差异校对| OSS
  INV2 -->|差异校对| ERP

  classDef core fill:#e6f7ff,stroke:#1890ff,stroke-width:1px,color:#000;
  class IN1,IN2,OUT1,OUT2,OUT3,INV1,INV2 core;
